<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8" />
    <title>5-4 PHP中的比较运算符</title>
</head>
<body>
<div align="center">
    <p><a href="index.php"><font size="4">目录</font></a></p>
    <?php
    $a = 1;
    $b = "1";
    var_dump($a == $b);
    echo "<br />";
    var_dump($a === $b);
    echo "<br />";
    var_dump($a != $b);
    echo "<br />";
    var_dump($a <> $b);
    echo "<br />";
    var_dump($a !== $b);
    echo "<br />";
    var_dump($a < $b);
    echo "<br />";
    $c = 5;
    var_dump($a < $c);
    echo "<br />";
    var_dump($a > $c);
    echo "<br />";
    var_dump($a <= $c);
    echo "<br />";
    var_dump($a >= $c);
    echo "<br />";
    var_dump($a >=$b);
    echo "<br />"

    ?>

    <!--总结：

     -->
</div>
</body>
</html>